using System.ComponentModel.DataAnnotations.Schema;

public class JobInProgress
{
    public JobInProgress()
    {
        SingletonLock = 0;
    }

    public int JobId { get; set; }
    [ForeignKey("JobId")]
    public virtual Job Job { get; set; }
    public int SingletonLock { get; private set; } // prevents 2+ records in table
}